<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/jsp/global/include.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<div class="post">
    <h2 class="title">Регистрация</h2>

    <div class="entry">
        <form:form commandName="regForm">
            <table cellspacing="10">
                <tbody>
                <tr>
                    <td><label>Имя</label></td>
                    <td><form:input path="name"/></td>
                </tr>
                <tr>
                    <td><label>Фамилия</label></td>
                    <td><form:input path="sname"/></td>
                </tr>
                <tr>
                    <td><label>E-mail</label></td>
                    <td><form:input path="email"/></td>
                </tr>
                <tr>
                    <td><label>Пароль</label></td>
                    <td><form:input path="pass"/></td>
                </tr>
                <tr>
                    <td><label>Повторить пароль</label></td>
                    <td><form:input path="pass2"/></td>
                </tr>
                <tr>
                    <td colspan="9" align="right"><input type="submit" value="Зарегистрироваться" class="button" /></td>
                </tr>
                </tbody>
            </table>
        </form:form>

    </div>
</div>
